package scsc.web.oa.correspondbook.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import scsc.web.system.AppActionForm;
import scsc.web.system.data.DepartmentData;
import scsc.web.oa.correspondbook.data.CorrespondbookData;

public class CorrespondbookForm extends AppActionForm{
	private CorrespondbookData data;
	private CorrespondbookData conditionData;
	public CorrespondbookForm(){
		super();
		data=new CorrespondbookData();
		conditionData = new CorrespondbookData();
	}
	public void reset(ActionMapping mapping,HttpServletRequest request){
		super.reset(mapping,request);
		data.reset();
		conditionData.reset() ;
	}
	public ActionErrors validate(ActionMapping mapping,HttpServletRequest request){
		ActionErrors errors=new ActionErrors();
		return errors;
	}
	public CorrespondbookData getData(){
		return data;
	}
	public void setData(CorrespondbookData data){
		this.data=data;
	}
	public CorrespondbookData getConditionData() {
		return conditionData;
	}

	
	public void setConditionData(CorrespondbookData conditionData) {
		this.conditionData = conditionData;
	}
}
